<?php
namespace Admin\Controller;
use Admin\Controller\ChearkLoginController;
use Think\Controller;
class InformaController extends ChearkLoginController {
    public function index(){
//        $this->info = M('information')->join('purse on information_id = information.idi')->join('purchase ON informatio_id =information.idi')->join('shop ON shopsid = shop.idit')->join('types on types_id=types.idty')->select();
        $idi = $_REQUEST['id'];
        $wher['idi'] = $idi;
        $this->shop = M('information')->join('purchase ON informatio_id =information.idi')->join('shop ON shopsid = shop.idit')->join('types on types_id=types.idty')->where($wher)->select();
        $this->display();
    }
}